﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin/View/MasterPage.Master" AutoEventWireup="true" CodeBehind="Feedback.aspx.cs" Inherits="MallProject.Admin.View.Feedback" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Contents2" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contents3" runat="server">
    <ul>
                            <li>
                            	<a href="Set.aspx">
                                	<!-- Icon Container -->
                                	<span class="da-nav-icon">
                                    	<img src="../../Public/Admin/images/icons/black/32/home.png" alt="Setting" />
                                    </span>
                                	Setting
                                </a>
                            </li>
                            <li>
                            	<a href="User.aspx">
                                	<!-- Icon Container -->
                                	<span class="da-nav-icon">
                                    	<img src="../../Public/Admin/images/icons/black/32/admin_user_2.png" alt="Users" />
                                    </span>
                                	Users Manager
                                </a>
                            <li>
                            	<a href="News.aspx">
                                	<!-- Icon Container -->
                                	<span class="da-nav-icon">
                                    	<img src="../../Public/Admin/images/icons/black/32/word_documents_1.png" alt="News" />
                                    </span>
                                	News Manager
                                </a>
                            </li>
                            <li>
                            	<a href="#">
                                	<span class="da-nav-icon">
                                    	<img src="../../Public/Admin/images/icons/black/32/cash_register.png" alt="Movies" />
                                    </span>
                                	Movies Manager
                                </a>
                                <ul class="closed">
                                	<li><a href="Movies.aspx">Movies</a></li>
                                	<li><a href="Orders.aspx">Orders</a></li>
                                </ul>
                            </li>
                             <li>
                            	<a href="Shops.aspx">
                                	<!-- Icon Container -->
                                	<span class="da-nav-icon">
                                    	<img src="../../Public/Admin/images/icons/black/32/file_cabinet.png" alt="Shops" />
                                    </span>
                                	Shops Manager
                                </a>
                            </li>
                            <li>
                            	<a href="Products.aspx">
                                	<!-- Icon Container -->
                                	<span class="da-nav-icon">
                                    	<img src="../../Public/Admin/images/icons/black/32/table_1.png" alt="Products" />
                                    </span>
                                	Products Managers
                                </a>
                            </li>
                           
                            <li class="active">
                            	<a href="Feedback.aspx">
                                	<!-- Icon Container -->
                                	<span class="da-nav-icon">
                                    	<img src="../../Public/Admin/images/icons/black/32/create_write.png" alt="Feedback" />
                                    </span>
                                	Feedback Manager
                                </a>
                            </li>
                            <li>
                            	<a href="Slider.aspx">
                                	<!-- Icon Container -->
                                	<span class="da-nav-icon">
                                    	<img src="../../Public/Admin/images/icons/black/32/images_2.png" alt="Slider" />
                                    </span>
                                	Slider Manager
                                </a>
                            </li>
                            
                        </ul>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="Contents4" runat="server">
    <asp:MultiView ID="Multi" runat="server" ActiveViewIndex="0">
        <asp:View ID="View1" runat="server">
        <div class="grid_4">
                        	<div class="da-panel collapsible">
                            	<div class="da-panel-header">
                                	<span class="da-panel-title">
                                        <img src="../../Public/Admin/images/icons/black/16/list.png" alt="" />
                                        Feedback Manager
                                    </span>
                                    
                                </div>
                                <div class="da-panel-content">
                                    <table class="da-table">   
        <asp:DataGrid ID ="grfeed" runat="server" AutoGenerateColumns="False" CssClass="grdU" 
                                            onitemcommand="grfeed_ItemCommand" onitemdatabound="grfeed_ItemDataBound" 
                                            onpageindexchanged="grfeed_PageIndexChanged">
             <Columns>
                 <asp:TemplateColumn>
                        <HeaderTemplate>Fullname</HeaderTemplate>
                        <HeaderStyle CssClass="headerteamp" />
                        <ItemTemplate><asp:Label ID="lblID" runat="server" Text='<%# Eval("fullname") %>'></asp:Label></ItemTemplate>
                        <ItemStyle CssClass="itemtemp"/>
                    </asp:TemplateColumn>
                    <asp:TemplateColumn>
                        <HeaderTemplate>Email</HeaderTemplate>
                        <HeaderStyle CssClass="headerteamp" />
                        <ItemTemplate><asp:Label ID="lblUser" runat="server" Text='<%# Eval("email") %>'></asp:Label></ItemTemplate>
                        <ItemStyle CssClass="itemtemp"/>
                    </asp:TemplateColumn>

                    <asp:TemplateColumn>
                        <HeaderTemplate>Address</HeaderTemplate>
                        <HeaderStyle CssClass="headerteamp" />
                        <ItemTemplate><asp:Label ID="lblFname" runat="server" Text='<%# Eval("address") %>'></asp:Label></ItemTemplate>
                        <ItemStyle CssClass="itemtemp"/>
                    </asp:TemplateColumn>

                    <asp:TemplateColumn>
                        <HeaderTemplate>Date</HeaderTemplate>
                        <HeaderStyle CssClass="headerteamp" />
                        <ItemTemplate><asp:Label ID="lblEmail" runat="server" Text='<%# Eval("create_date") %>'></asp:Label></ItemTemplate>
                        <ItemStyle CssClass="itemtemp"/>
                    </asp:TemplateColumn>
                    <asp:TemplateColumn>
                        <HeaderTemplate>Status</HeaderTemplate>
                        <HeaderStyle CssClass="headerteamp" />
                        <ItemTemplate><asp:Label ID="lblEmail" runat="server"></asp:Label></ItemTemplate>
                        <ItemStyle CssClass="itemtemp"/>
                    </asp:TemplateColumn>
                    <asp:TemplateColumn>
                        <HeaderTemplate>Action</HeaderTemplate>
                        <HeaderStyle CssClass="headerteamp" />
                        <ItemTemplate>
                            <asp:ImageButton ID="edit" runat="server" ImageUrl="../../Public/Admin/images/icons/color/pencil.png" CommandName="Edit" CommandArgument='<%# Eval("id") %>' CausesValidation="False"/>
                            <asp:ImageButton ID="delete" runat="server" ImageUrl="../../Public/Admin/images/icons/color/cross.png" CommandName="Delete" CommandArgument='<%# Eval("id") %>' onclientclick="return confirm('Are you sure?');" CausesValidation="False" />
                        </ItemTemplate>
                        <ItemStyle CssClass="itemtemp"/>
                    </asp:TemplateColumn>
                </Columns>
        </asp:DataGrid>
            </table>
        </div>
    </div>
</div>
        </asp:View>
        <asp:View ID="View2" runat="server">
            <div class="grid_4">
                        	<div class="da-panel">
                            	<div class="da-panel-header">
                                	<span class="da-panel-title">
                                        <img src="../../Public/Admin/images/icons/black/16/pencil.png" alt="" />
                                        Feedback
                                    </span>
                                    
                                </div>
                                <div class="da-panel-content">
                                	<form class="da-form">
                                    	<div class="da-form-inline">
                                         <div class="da-form-row">
                                                <label>ID</label>
                                                <div class="da-form-item large">
                                                    <asp:TextBox ID="txtID" runat="server" Width="100" ReadOnly="true"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="da-form-row">
                                                <label>Fullname</label>
                                                <div class="da-form-item large">
                                                	
                                                    <asp:TextBox ID="txtFull" runat="server" Width="300" ReadOnly="true"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="da-form-row">
                                                <label>Email</label>
                                                <div class="da-form-item large"> 	
                                                    <asp:TextBox ID="txtEmail" runat="server" Width="300" ReadOnly="true"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="da-form-row">
                                                <label>Address</label>
                                                <div class="da-form-item large"> 	
                                                    <asp:TextBox ID="txtAdd" runat="server" TextMode="MultiLine" ReadOnly="true"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="da-form-row">
                                                <label>Content</label>
                                                <div class="da-form-item large"> 	
                                                    <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" ReadOnly="true"></asp:TextBox>
                                                </div>
                                            </div>
                                            <div class="da-form-row">
                                                <label>Status</label>
                                                <div class="da-form-item large">
                                                     <asp:DropDownList ID="drlstt" runat="server">
                                                         <asp:ListItem>Wait</asp:ListItem>
                                                         <asp:ListItem>Done</asp:ListItem>
                                                     </asp:DropDownList>
                                                </div>
                                            </div>
                                            <div class="da-form-row">
                                                
                                                	<asp:LinkButton ID="btnSave" runat="server" Text="Save" 
                                                        CssClass="da-button red" onclick="btnSave_Click"></asp:LinkButton>
                                                	<asp:LinkButton ID="btnBack" runat="server" Text="Back" 
                                                        CssClass="da-button red" onclick="btnBack_Click"></asp:LinkButton>                                                       
                                            </div>
                                        </div>
                                    </form>
                                </div>
                              </div>
           </div>
        </asp:View>
    </asp:MultiView>
</asp:Content>
